home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- puppetSound("click")
- if the hilite of cast "Degrees" then
- put PI / 180.0 * field "theta" into field "theta"
- end if
- set the hilite of cast "Degrees" to 0
- set the hilite of cast "Radians" to 1
- if the hilite of cast "Degrees" then
- set the castNum of sprite 16 to cast "Degs"
- else
- set the castNum of sprite 16 to cast "Rads"
- end if
- end
-